package com.changgou.demo;

import com.changgou.util.IdWorker;

public class demo1 {
    public static void main(String[] args) {
        IdWorker idWorker = new IdWorker();
        for (int i = 0; i < 10; i++) {

            long id = idWorker.nextId();
            System.out.println(id);
        }
    }
}
